package com.geeguo.ebuilder.core.security.exception;

import com.geeguo.ebuilder.core.common.exception.FrameworkException;
import org.apache.commons.lang3.StringUtils;

/**
 * 未能通过的权限认证异常
 */
public class NotPermissionException extends FrameworkException {
	
	public NotPermissionException(String permission) {
        super(permission);
    }

    public NotPermissionException(String[] permissions) {
        super(StringUtils.join(permissions, ","));
    }
}